package com.zhuiyun.educations.api.homepage.service;

import com.zhuiyun.educations.api.homepage.entity.CourseVo;
import com.zhuiyun.educations.api.homepage.entity.Rotaion;
import com.zhuiyun.educations.api.newCourse.entity.CourseUnit;
import com.zhuiyun.educations.api.newCourse.entity.DTO.CourseDTO;
import com.zhuiyun.educations.api.newCourse.entity.UnitJoint;
import com.zhuiyun.educations.common.response.CommonResult;

import java.util.List;

/**
 * @Description:
 * @ClassName: CourseVoService
 * @Author: YB
 * @Date: 2023/6/21 11:39
 * @Version: 1.0
 */
public interface CourseVoService {
    /**
        * @Author yuanb
        * @Description pc端首页活数据
        * @Date 2023/6/21 14:39
        * @Return java.util.List<com.zhuiyun.educations.api.course.entity.CourseVo>
        * * @param courseVo
    */
    CommonResult homePageAllFree();

    /**
        * @Author yuanb
        * @Description 轮播图
        * @Date 2023/6/21 16:33
        * @Return com.zhuiyun.educations.common.response.CommonResult
        *
    */
    CommonResult CarouselAll(Rotaion rotaion);

    CommonResult homePageAllcharge();

    /**
    * @Author MJL
    * @Description pc端新课推荐数据
    * @Date 2023/6/27 15:40
    * @Return  * @param null
    */
    CommonResult homePageNewAllCharge();

    /**
    * @Author MJL
    * @Description todo pc端微专业数据
    * @Date 2023/6/27 20:39
    * @Return  * @param null
    */
    CommonResult homePageMicroAllCharge();

    /**
    * @Author MJL
    * @Description todo pc端首页获取精选课数据
    * @Date 2023/6/28 15:39
    * @Return  * @param null
    */
    CommonResult homePageSelected();
    CommonResult homePageSelectedById(Integer id);
    List<CourseUnit> homePageUnitById(Integer id);
    List<UnitJoint> homePageJointById(Integer id);
    /**
    * @Author MJL
    * @Description todo pc端大课程分类
    * @Date 2023/6/29 11:08
    * @Return  * @param null
    */
    CommonResult BigClassList();

    /**
    * @Author MJL
    * @Description todo pc端小课程数据
    * @Date 2023/6/29 14:02
    * @Return  * @param null
    */
    CommonResult SmallClassList(Integer subjectId);

    /**
    * @Author 杨友朋
    * @Description TODO 查询详细页面
    * @Date 2023/7/11 16:27
    * @Return
    * @param
    */

    CourseDTO selectCourseInfo(Integer id);
}
